/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.mleiria.utils;

import java.util.logging.Logger;

/**
 *
 * @author manuel
 */
public class HOTPGenerator {
    private final static Logger LOG = Logger.getLogger(HOTPGenerator.class.getName());

    public static void main(String[] args){
        byte[] b = loadBArr();
        for(int i = 0; i < b.length; i++){
            LOG.info(Integer.toBinaryString(b[i]));
        }
        
    }
    
    private static byte[] loadBArr(){
        final byte[] b = new byte[20];
        b[0] = 0x1f;
        b[1] = (byte) 0x86;
        b[2] = (byte) 0x98;
        b[3] = 0x69;
        b[4] = 0x0e;
        b[5] = 0x02;
        b[6] = (byte) 0xca;
        b[7] = 0x16;
        b[8] = 0x61;
        b[9] = (byte) 0x85;
        b[10] = 0x50;
        b[11] = (byte) 0xef;
        b[12] = 0x7f;
        b[13] = 0x19;
        b[14] = (byte) 0xda;
        b[15] = (byte) 0x8e;
        b[16] = (byte) 0x94;
        b[17] = 0x5b;
        b[18] = 0x55;
        b[19] = 0x5a;
        return b;
    }
}
